package com.diankangwo.dto;

import com.diankangwo.domain.UserInfo;

import java.sql.Timestamp;

public class DiscussDTO {
    private int id;

    /**
     * 商品ID
     */
    private Integer commodityId;

    /**
     * 用户id
     */
    private UserInfo userInfo;

    /**
     * 类型 1:回复评论 0：评论
     */
    private int reply;

    /**
     * 回复的评论ID
     */
    private int replyId;

    /**
     * 是否审核 1:审核显示 0：拒绝显示
     */
    private int ischeck;


    /**
     * 内容
     */
    private String content;

    /**
     * 图片
     */
    private String pic;

    /**
     * 添加时间
     */
    private Timestamp add_date;

    /**
     * 点赞数
     */
    private Integer clickPraise;

    /**
     * 回复数
     */
    private Integer replyNumber;

    /**
     * 评价 1：好评 2：中评 0：差评
     */
    private Integer evaluate;

    /**
     * 点赞数量
     */
    private Integer praiseNum;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Integer getCommodityId() {
        return commodityId;
    }

    public void setCommodityId(Integer commodityId) {
        this.commodityId = commodityId;
    }

    public UserInfo getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(UserInfo userInfo) {
        this.userInfo = userInfo;
    }

    public int getReply() {
        return reply;
    }

    public void setReply(int reply) {
        this.reply = reply;
    }

    public int getReplyId() {
        return replyId;
    }

    public void setReplyId(int replyId) {
        this.replyId = replyId;
    }

    public int getIscheck() {
        return ischeck;
    }

    public void setIscheck(int ischeck) {
        this.ischeck = ischeck;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public Timestamp getAdd_date() {
        return add_date;
    }

    public void setAdd_date(Timestamp add_date) {
        this.add_date = add_date;
    }

    public Integer getClickPraise() {
        return clickPraise;
    }

    public void setClickPraise(Integer clickPraise) {
        this.clickPraise = clickPraise;
    }

    public Integer getReplyNumber() {
        return replyNumber;
    }

    public void setReplyNumber(Integer replyNumber) {
        this.replyNumber = replyNumber;
    }

    public Integer getEvaluate() {
        return evaluate;
    }

    public void setEvaluate(Integer evaluate) {
        this.evaluate = evaluate;
    }

    public Integer getPraiseNum() {
        return praiseNum;
    }

    public void setPraiseNum(Integer praiseNum) {
        this.praiseNum = praiseNum;
    }
}
